﻿//使用closedxml把datatable导出excel
function DownloadExcelFile(fileName, fileTypeString, fileByteArray) {
    var link = document.createElement('a');
    link.download = fileName;
    link.href = fileTypeString + ", " + fileByteArray;
    // 触发下载
    document.body.appendChild(link);
    link.click();
    // 删除节点
    document.body.removeChild(link);
};
//调用windows打印
function printWindow() {
    window.print();
}


